package com.bf.electroplating.util.easyexcel.excel.rectification;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * 整改数据Excel实体类
 */
@Data
public class RectificationDataExcel {
    
    @ExcelProperty(value = "序号", index = 0)
    private String serialNumber;
    
    @ExcelProperty(value = "车间", index = 1)
    private String workshop;
    
    @ExcelProperty(value = "具体点位", index = 2)
    private String specificLocation;
    
    @ExcelProperty(value = "问题描述", index = 3)
    private String problemDescription;
    
    /**
     * 整改前照片 - 不通过字段接收，而是通过extra方法处理
     * 占位字段，可以为空
     */
    @ExcelProperty(value = "整改前照片", index = 4)
    private String beforeImagePlaceholder;
    
    @ExcelProperty(value = "意见建议", index = 5)
    private String suggestions;
    
    /**
     * 改造后照片 - 不通过字段接收，而是通过extra方法处理
     * 占位字段，可以为空
     */
    @ExcelProperty(value = "改造后照片", index = 6)
    private String afterImagePlaceholder;
    
    @ExcelProperty(value = "整改内容", index = 7)
    private String rectificationContent;
    
    @ExcelProperty(value = "是否完成闭环整改", index = 8)
    private String isCompleted;
    
    // 用于存储图片保存路径（不从Excel读取，由程序生成）
    private String beforeImagePath;
    private String afterImagePath;
}

